const mutations = {
    // 已处理请求数据添加函数
    successdata_List(state, result) {
        if (state.HandoutList === null) {
            state.HandoutList = result
        }
    },
    // 未处理求数据添加函数
    detaildata_List(state, result) {
        if (result === null) {
            state.NotHandoutList = null
        } else {
            if (state.NotHandoutList === null) {
                state.NotHandoutList = result
            }
        }
    },
    // 设置处理列表
    staff_Set_EventflowList(state, result) {
        if (result === null) {
            state.HandoutList = null
        } else {
            if (state.HandoutList === null) {
                state.HandoutList = result
            } else {
                state.HandoutList = state.HandoutList.concat(result)
            }
        }
    },
    // 设置未处理列表
    staff_SET_NotHandoutList(state, result) {
        if (result === null) {
            state.NotHandoutList = null
        } else {
            if (state.NotHandoutList === null) {
                state.NotHandoutList = result
            } else {
                state.NotHandoutList = state.NotHandoutList.concat(result)
            }
        }
    },
    SET_yichuliScroll(state, scroll) { // 已处理获取滚动条高度
        state.yichuliScroll = scroll
    },
    SET_weichuliScroll(state, scroll) { // 未处理处理获取滚动条高度
        state.weichuliScroll = scroll
    },
    SET_Ochangestate(state, num) { // 获取已处理未处理状态改变
        state.changeDta = num
    },
    SET_Tchangestate(state, num) { // 获取已处理未处理状态改变
        state.changeDta = num
    },
    set_changepagepedding(state, page) {
        state.peddingPage = page
    },
    set_peddingcusesspage(state, page) {
        state.peddingcusesspage = page
    }
}
export default mutations
